package com.example.medicalapp.model;

public class Prescription {
    private int id;
    private int appointmentId;
    private int patientId;
    private int doctorId;
    private String aiAnalysis;
    private String finalDiagnosis;
    private String finalPrescription;
    private String createdDate;

    public Prescription() {}

    public Prescription(int appointmentId, int patientId, int doctorId,
                        String aiAnalysis, String finalDiagnosis,
                        String finalPrescription, String createdDate) {
        this.appointmentId = appointmentId;
        this.patientId = patientId;
        this.doctorId = doctorId;
        this.aiAnalysis = aiAnalysis;
        this.finalDiagnosis = finalDiagnosis;
        this.finalPrescription = finalPrescription;
        this.createdDate = createdDate;
    }

    // Getters and Setters
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getAppointmentId() {
        return appointmentId;
    }

    public void setAppointmentId(int appointmentId) {
        this.appointmentId = appointmentId;
    }

    public int getPatientId() {
        return patientId;
    }

    public void setPatientId(int patientId) {
        this.patientId = patientId;
    }

    public int getDoctorId() {
        return doctorId;
    }

    public void setDoctorId(int doctorId) {
        this.doctorId = doctorId;
    }

    public String getAiAnalysis() {
        return aiAnalysis;
    }

    public void setAiAnalysis(String aiAnalysis) {
        this.aiAnalysis = aiAnalysis;
    }

    public String getFinalDiagnosis() {
        return finalDiagnosis;
    }

    public void setFinalDiagnosis(String finalDiagnosis) {
        this.finalDiagnosis = finalDiagnosis;
    }

    public String getFinalPrescription() {
        return finalPrescription;
    }

    public void setFinalPrescription(String finalPrescription) {
        this.finalPrescription = finalPrescription;
    }

    public String getCreatedDate() {
        return createdDate;
    }

    public void setCreatedDate(String createdDate) {
        this.createdDate = createdDate;
    }
}
